package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CountRequest extends IdRequest{
    @ApiModelProperty(value = "数量")
    @NotNull(message = "数量不能为空")
    @Range(min = 1, max = 100,message = "单次操作数量不能大于100个")
    private Integer count;


}
